package cn.iune.platform.dictionary;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IRegionInfoDao {
	
	public void insert(RegionInfo obj);
	
	public void delete(String fID);
	
	public RegionInfo update(RegionInfo obj);

	public RegionInfo getByID(String fID);

	public List<RegionInfo> getAll();
	
	public List<RegionInfo> getChilds(String fParent);
	

	List<RegionInfo> getChildren(String fParent);

	List<RegionInfo> getProvinces();

	List<RegionInfo> getRoots();

	List<RegionInfo> getChildsByFullName(String fullName, String nodeType);

	RegionInfo getByName(String regionName, String nodeType);

	JSONObject query(JSONObject data) throws SQLException;

	public JSONObject create(JSONObject param);


}
